<template>
	<div class="app">
		<Category title="游戏">
			<template scope="{gameArr}">
				<ul>
					<li v-for="item in gameArr">{{item}}</li>
				</ul>
			</template>
		</Category>
		<Category title="美食">
			<template scope="obj">
				<img :src="obj.foodUrl" alt="">
			</template>
		</Category>
		<Category title="电影">
			<template scope="{movieUrl}">
				<video :src="movieUrl" controls></video>
			</template>
		</Category>
	</div>
</template>

<script>
	import Category from './Components/Category'

	export default {
		name: 'App',
		components: {
			Category
		}
	}
</script>

<style>
	.app {
		display: flex;
		justify-content: space-around;
	}
	*{
		width: 100%;
	}
</style>